#pragma once
#include <stdio.h>

#define SIZE 4096
typedef struct _myFILE
{
  //char inbuffer[SIZE];
  char outbuffer[SIZE];
  int fileno;
  int pos;
  int cap;
}myFILE;

//fopen()
myFILE* my_fopen(const char* pathname,const char* mode);

//fclose()
void my_fclose(myFILE* fp);

//fwrite()
int my_fwrite(myFILE* fp,const char* s,int size);

//fread()
//int my_fread();
